package com.hmdp.service;

import com.hmdp.dto.Result;
import com.hmdp.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;

import java.nio.DoubleBuffer;
import java.util.List;


public interface IShopService extends IService<Shop> {

    /**
     * 根据id查询店铺信息
     * @param id
     * @return
     */
    Result queryById(Long id);

    Result update(Shop shop);

    List<Shop> queryShopByType(Integer typeId, Integer current, Double x, Double y);
}
